package com.wisdom.demo.mapper;

import com.wisdom.demo.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 11951
 * Date: 2025-03-21
 * Time: 9:21
 */
@Mapper
public interface UserInfoXmlMapper {
    /*
    * 查
    * */
    List<UserInfo> queryAllUser();
    /*
    * 增
    * */
    Integer insertUser(@Param("userInfo")UserInfo userInfo);
/*
* 删
* */
    Integer delete(Integer id);
    /*
    * 改
    * */
    Integer updateUser(UserInfo userInfo);
    /*
    * 查
    * */
    List<UserInfo> selectAllUser();
}
